#导入Flask
from flask import Flask
from flask_cors import CORS

#初始Flask

app = Flask(__name__)
#解决中文乱码
# app.config['JSON_AS_ASCII'] = False
#跨域配置

#全局配置跨域
cors = CORS(app)


#调用实例化类
if __name__ == '__main__':
    app.run(debug=True,host='0.0.0.0',port=5000)



